﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using System.Data;
using VOL;

namespace Web
{
    public partial class Default : System.Web.UI.Page
    {
        DMHangBL _DMHangBL = new DMHangBL();
        protected void Page_Load(object sender, EventArgs e)
        {
            DMHang obj = new DMHang();
            DataTable dt = _DMHangBL.GetData(obj, 8);
            RepeaterNew.DataSource = dt;
            RepeaterNew.DataBind();

            obj.MaLoaiHang = 2;
            RepeaterCoat.DataSource = _DMHangBL.GetData(obj, 8);
            RepeaterCoat.DataBind();
        }
    }
}